package com.lvmama.rhino.mapperComment;

import com.lvmama.rhino.pojo.comment.entity.CommentDetail;
import com.lvmama.rhino.pojo.comment.entity.ViewDetail;

import java.util.Date;
import java.util.List;

/**
 * @ClassName: SaveDataMapper
 * @Description: 保存数据mapper
 * @author shenlinli
 * @date 2017年9月18日 下午5:23:00
 */
public interface SaveDataMapper {

	boolean insertViewList(List<ViewDetail> list);

	boolean insertCommentList(List<CommentDetail> commentList);

	boolean updateCommentList(List<CommentDetail> commentList);

	List<CommentDetail> queryByCommentId(CommentDetail detail);
	
	List<CommentDetail> queryCommentListByTime(Date beginDate, Date endDate);
	

}
